package com.now.mapper;

import com.now.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Desc TODO
 * @Author Administrator
 * @Date 2024/7/22 10:47
 * @Version 1.0
 */
@Mapper
public interface UserMapper{

    User queryByUsername(@Param("username") String username);

    boolean save(@Param("username") String username, @Param("password") String password);
}
